<?php include(APPPATH.'views/header.php');?>
<div class="success_box">

 <div class="success" style="padding:20px;" >
 <h1 style="width:150px;"><span>欢迎您注册</span></h1>
 <p>注册完成后，您需要用注册的通行证登陆对弈客户端，即可设置昵称。</P>
 </div>
  <form name="register" method="post" action="/user/register/submit">
  <table width="700" border="0" align="center" cellpadding="0" cellspacing="0"  class="table1">
  <tr>
    <td class="ld">用户名：</td>
    <td><input name="username" type="text"  class="input2"/>
      <span class="color1"> 5-64位字母或数字的组合,不区分大小写 </span></td>
  </tr>
  <tr>
    <td class="ld">密码：</td>
    <td><input name="password" type="password"  class="input2"/>
      <span class="color1">长度为6-32位，字母区分大小写</span></td>
  </tr>
  <tr>
    <td class="ld">确认密码：</td>
    <td><input name="repassword" type="password"  class="input2"/>
      <span class="color1">长度为6-32位，字母区分大小写</span></td>
  </tr>
  <tr>
    <td class="ld">E-mail：</td>
    <td><input name="email" type="text"  class="input2"/>
      <span class="color1">用于找回密码</span></td>
  </tr>
  <tr>
    <td class="ld">验证码：</td>
    <td><input name="verify_code" type="text"  class="input2"/>
      <span class="color1"><a href="javascript:changeverifycode();" style="margin-right:5px;"><img id="verifycode" src="/user/register/verifycode?<?=time()?>" border="0" /></a><a href="javascript:changeverifycode();">换一张</a> 请输入显示的数字</span></td>
  </tr>
  </table>
      <input type="hidden" name="redirect_url" value="<?=$referer?>">

<div class="logbox1"><label ><input type="checkbox" name="agree" value="1" style="padding-top:10px;" checked="checked"/>  我已阅读并接受<a href="#">《网站服务条款》</a></label></div>
<div class="box1"><a href="javascript:;" onclick="document.forms['register'].submit()" class="button3">注册</a><a href="#" class="button6">取消</a></div>
    </form>

<div class="clear"></div>

</div>
<?php include(APPPATH.'views/footer.php');?>
<script>
function changeverifycode()
{
    $('#verifycode').attr('src','/user/register/verifycode?' + Math.random());
}
</script>